<?php
echo $form->create('Owner');
echo $form->hidden("Owner.property_id");
echo $form->input("Owner.nombres");
echo $form->input("Owner.primer_apellido");
echo $form->input("Owner.segundo_apellido");
echo $form->input("Owner.documento");
echo $form->input("Owner.telefono");
echo $form->input("Owner.direccion");
?>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<?php
if ($est == 0)
    echo $ajax->submit('Guardar', array('url' => array('controller' => 'Owners', 'action' => 'add', $this->data['Owner']['property_id']), 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'));
echo $form->end();
?>
